package com.spring.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * spring-boot-cache项目启动入口
 *
 * @author LiKun
 * @EnableCaching：启动sprin-boot-starter-caceh基于注解的缓存
 * @date 2021/7/29 16:56
 */
@EnableCaching
@SpringBootApplication
public class CacheApplication {
    /**
     * 项目启动函数
     *
     * @param args 相关参数
     */
    public static void main(String[] args) {
        SpringApplication.run(CacheApplication.class);
    }
}
